bitkeeper revision 1.525 (3f8f40d5f-vrfYUtEwXamtkNP2zQog)
authoriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Fri, 17 Oct 2003 01:07:33 +0000 (01:07 +0000)
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Fri, 17 Oct 2003 01:07:33 +0000 (01:07 +0000)
Trivial change to xen-clone to allow it to be invoked on a specific version
of the repository e.g.
xen-clone "-rlatest-semistable bk://xen.bkbits.net/xeno-unstable.bk"

NB: the quote characters are necessary because this is a hack...

tools/misc/xen-clone

index 3fdd23d5db661e11a73d10eb70fb073aaa8b00cd..96da9fe3711a1032d43ae2b267672163b128b4f7 100755 (executable)
@@ -22,7 +22,7 @@ UCCL)
 esac
 
 DEST_DIR=${2:-xeno-clone}
-DEST_BK_REP=`basename ${BK_REP}`
+DEST_BK_REP=`basename "${BK_REP}"`
 
 echo usage: xen-clone bk_repository dest_dir orig_linux_dir
 echo Source BK Repository : ${BK_REP}